package com.leslie.wukong.biz.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leslie.wukong.biz.system.domain.SysUser;
import com.leslie.wukong.biz.system.domain.dto.SysUserAddDTO;
import com.leslie.wukong.biz.system.domain.dto.UserLoginDTO;
import com.leslie.wukong.biz.system.domain.vo.UserLoginVO;

/**
 * ClassName: SysUserService
 * Package: com.leslie.wukong.biz.system.service
 * Description:
 * @date: 2024/12/4 14:12
 * @author: itcoder
 */

public interface SysUserService extends IService<SysUser> {


    int insertSelective(SysUser record);

    int updateByPrimaryKeySelective(SysUser record);

    Integer add(SysUserAddDTO dto);

    SysUser login(UserLoginDTO dto);

    UserLoginVO generateToken(SysUser sysUser);

}
